﻿using System;
using System.Collections.Generic;
using System.Text;
using YBApproval.Model;

namespace YBApproval.IDAL
{
    public interface IUserProfile : IDisposable
    {
        List<UserProfile> GetAll();

        bool InsertNewUser(UserProfile nUser);

        bool UpdateUserProfile(UserProfile UserInfo);

        bool DeleteUser(List<UserProfile> Users);

        UserProfile UserLogin(UserProfile UserInfo);

        UserProfile GetUserByID(int UserId);

        int? GetUserIdByName(string UserName);
    }
}

